as suggested by clazy.
connect(mapWidget_, SIGNAL(waypointClicked(int)), this, SLOT(waypointClickedX(int)));
connect(mapWidget_, SIGNAL(routeClicked(int)), this, SLOT(routeClickedX(int)));
connect(mapWidget_, SIGNAL(trackClicked(int)), this, SLOT(trackClickedX(int)));
- connect(ui_.treeView, SIGNAL(doubleClicked(const QModelIndex&)),
- this, SLOT(treeDoubleClicked(const QModelIndex&)));
- connect(ui_.treeView->selectionModel(), SIGNAL(selectionChanged(const QItemSelection&, const QItemSelection&)),
- this, SLOT(selectionChangedX(const QItemSelection&, const QItemSelection&)));
+ connect(ui_.treeView, SIGNAL(doubleClicked(QModelIndex)),
+ this, SLOT(treeDoubleClicked(QModelIndex)));
+ connect(ui_.treeView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
+ this, SLOT(selectionChangedX(QItemSelection,QItemSelection)));
ui_.treeView->setContextMenuPolicy(Qt::CustomContextMenu);
- connect(ui_.treeView, SIGNAL(customContextMenuRequested(const QPoint&)),
- this, SLOT(showContextMenu(const QPoint&)));
+ connect(ui_.treeView, SIGNAL(customContextMenuRequested(QPoint)),
+ this, SLOT(showContextMenu(QPoint)));
connect(ui_.copyButton, SIGNAL(clicked()), this, SLOT(copyButtonClickedX()));
this->page()->setWebChannel(channel);
// Note: A current limitation is that objects must be registered before any client is initialized.
channel->registerObject(QStringLiteral("mclicker"), mclicker);
- connect(mclicker, SIGNAL(markerClicked(int, int)), this, SLOT(markerClicked(int, int)));
- connect(mclicker, SIGNAL(logTime(const QString&)), this, SLOT(logTime(const QString&)));
+ connect(mclicker, SIGNAL(markerClicked(int,int)), this, SLOT(markerClicked(int,int)));
+ connect(mclicker, SIGNAL(logTime(QString)), this, SLOT(logTime(QString)));
#endif
QString baseFile = QApplication::applicationDirPath() + "/gmapbase.html";
// Historically this was done here in showGpxData.
MarkerClicker* mclicker = new MarkerClicker(this);
this->page()->mainFrame()->addToJavaScriptWindowObject("mclicker", mclicker);
- connect(mclicker, SIGNAL(markerClicked(int, int)), this, SLOT(markerClicked(int, int)));
- connect(mclicker, SIGNAL(logTime(const QString&)), this, SLOT(logTime(const QString&)));
+ connect(mclicker, SIGNAL(markerClicked(int,int)), this, SLOT(markerClicked(int,int)));
+ connect(mclicker, SIGNAL(logTime(QString)), this, SLOT(logTime(QString)));
#endif
this->logTime("Start defining JS string");
connect(process, SIGNAL(error(QProcess::ProcessError)),
this, SLOT(errorX(QProcess::ProcessError)));
- connect(process, SIGNAL(finished(int, QProcess::ExitStatus)),
- this, SLOT(finishedX(int, QProcess::ExitStatus)));
+ connect(process, SIGNAL(finished(int,QProcess::ExitStatus)),
+ this, SLOT(finishedX(int,QProcess::ExitStatus)));
connect(process, SIGNAL(readyReadStandardError()),
this, SLOT(readyReadStandardErrorX()));
connect(process, SIGNAL(readyReadStandardOutput()),